<%@ page language="java" contentType="text/html; charset=UTF-8" import="ibm.websphere.monitor.util.UtilTool"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ include file="vars.jsp" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>欢迎WAS登录监控系统</title>
    <link href="${contextPath}/page/common/css/stylelogin.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="${contextPath}/page/common/js/jquery.js"></script>
    <script src="${contextPath}/page/common/js/cloud.js" type="text/javascript"></script>

    <script language="javascript">
        $(function(){
            $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
            $(window).resize(function(){
                $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
            })

            $("#login_submit").click(function() {
                if($("#userName").val()==""){
                    alert("登陆名称不能为空！");
                    return false;
                }
                if($("#passWord").val()==""){
                    alert("登陆密码不能为空！");
                    return false;
                }

                var targetForm = document.forms[0];
                targetForm.submit();
            });

            $("body").bind('keyup',function(event) {
                if(event.keyCode==13){
                    $("#login_submit").click();
                }
            });

        });


    </script>

</head>

<body style="background-color:#1c77ac; background-image:url(${contextPath}/page/common/images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">



<div id="mainBody">
    <div id="cloud1" class="cloud"></div>
    <div id="cloud2" class="cloud"></div>
</div>


<div class="logintop">
    <span>欢迎WAS登录监控系统</span>
    <ul>
        <%--<li><a href="#">回首页</a></li>--%>
        <%--<li><a href="#">帮助</a></li>--%>
        <%--<li><a href="#">关于</a></li>--%>
    </ul>
</div>

<div class="loginbody">

    <span class="systemlogo"></span>
    <form method="post" action="${contextPath}/LoginManage/login" >
        <div class="loginbox">
            <ul>
                <li><input name="userName" id="userName" type="text" class="loginuser" value="admin" onclick="JavaScript:this.value=''"/></li>
                <li><input name="passWord" id="passWord" type="password" class="loginpwd" value="密码" onclick="JavaScript:this.value=''"/></li>
                <li><input name="login_submit" type="submit" id="login_submit" class="loginbtn" value="登录" /> </li>
            </ul>
        </div>
    </form>
</div>

<div class="loginbm">版权所有@这家伙真懒
    <a href="http://www.uimaker.com">www.timotai.net</a>  仅供学习交流，勿用于任何商业用途
</div>


</body>
</html>
